package com.jiefeng.manager.queryRequest;

import com.jiefeng.manager.page.PageParam;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.util.Date;

/**
 * Created by hts on 2016/6/25.
 * 订单查询条件
 */
public class OrderInfoRequest extends PageParam {
    private String id;
    //商户号
    private String merchantId;
    //子商户号
    private String subMerchantId;
    //订单号
    private String orderNo;
    //订单请求交易流水号
    private String orderReqNo;
    //翼支付网关交易流水号
    private String bestTransNo;
    //支付状态
    private String payStatus;

    //创建开始时间
    private String createTimeMin;
    //创建结束时间
    private String createTimeMax;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getSubMerchantId() {
        return subMerchantId;
    }

    public void setSubMerchantId(String subMerchantId) {
        this.subMerchantId = subMerchantId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getOrderReqNo() {
        return orderReqNo;
    }

    public void setOrderReqNo(String orderReqNo) {
        this.orderReqNo = orderReqNo;
    }

    public String getBestTransNo() {
        return bestTransNo;
    }

    public void setBestTransNo(String bestTransNo) {
        this.bestTransNo = bestTransNo;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public String getCreateTimeMin() {
        return createTimeMin;
    }

    public void setCreateTimeMin(String createTimeMin) {
        this.createTimeMin = createTimeMin;
    }

    public String getCreateTimeMax() {
        return createTimeMax;
    }

    public void setCreateTimeMax(String createTimeMax) {
        this.createTimeMax = createTimeMax;
    }

    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}
